<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pBlock
 *
 * @ORM\Table(name="p2p_block")
 * @ORM\Entity
 */
class P2pBlock
{
    /**
     * @var string
     *
     * @ORM\Column(name="cl_code", type="string", length=50, nullable=false)
     */
    private $clCode;

    /**
     * @var string
     *
     * @ORM\Column(name="cl_title", type="string", length=50, nullable=true)
     */
    private $clTitle;

    /**
     * @var string
     *
     * @ORM\Column(name="cl_content1", type="string", length=60, nullable=false)
     */
    private $clContent1;

    /**
     * @var string
     *
     * @ORM\Column(name="cl_content2", type="string", length=60, nullable=false)
     */
    private $clContent2;

    /**
     * @var string
     *
     * @ORM\Column(name="cl_description", type="string", length=400, nullable=true)
     */
    private $clDescription;

    /**
     * @var string
     *
     * @ORM\Column(name="cl_content", type="text", nullable=true)
     */
    private $clContent;

    /**
     * @var string
     *
     * @ORM\Column(name="cl_file", type="string", length=200, nullable=true)
     */
    private $clFile;

    /**
     * @var integer
     *
     * @ORM\Column(name="cl_time", type="integer", nullable=false)
     */
    private $clTime;

    /**
     * @var integer
     *
     * @ORM\Column(name="admin_id", type="integer", nullable=false)
     */
    private $adminId;

    /**
     * @var integer
     *
     * @ORM\Column(name="cl_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $clId;



    /**
     * Set clCode
     *
     * @param string $clCode
     *
     * @return P2pBlock
     */
    public function setClCode($clCode)
    {
        $this->clCode = $clCode;

        return $this;
    }

    /**
     * Get clCode
     *
     * @return string
     */
    public function getClCode()
    {
        return $this->clCode;
    }

    /**
     * Set clTitle
     *
     * @param string $clTitle
     *
     * @return P2pBlock
     */
    public function setClTitle($clTitle)
    {
        $this->clTitle = $clTitle;

        return $this;
    }

    /**
     * Get clTitle
     *
     * @return string
     */
    public function getClTitle()
    {
        return $this->clTitle;
    }

    /**
     * Set clContent1
     *
     * @param string $clContent1
     *
     * @return P2pBlock
     */
    public function setClContent1($clContent1)
    {
        $this->clContent1 = $clContent1;

        return $this;
    }

    /**
     * Get clContent1
     *
     * @return string
     */
    public function getClContent1()
    {
        return $this->clContent1;
    }

    /**
     * Set clContent2
     *
     * @param string $clContent2
     *
     * @return P2pBlock
     */
    public function setClContent2($clContent2)
    {
        $this->clContent2 = $clContent2;

        return $this;
    }

    /**
     * Get clContent2
     *
     * @return string
     */
    public function getClContent2()
    {
        return $this->clContent2;
    }

    /**
     * Set clDescription
     *
     * @param string $clDescription
     *
     * @return P2pBlock
     */
    public function setClDescription($clDescription)
    {
        $this->clDescription = $clDescription;

        return $this;
    }

    /**
     * Get clDescription
     *
     * @return string
     */
    public function getClDescription()
    {
        return $this->clDescription;
    }

    /**
     * Set clContent
     *
     * @param string $clContent
     *
     * @return P2pBlock
     */
    public function setClContent($clContent)
    {
        $this->clContent = $clContent;

        return $this;
    }

    /**
     * Get clContent
     *
     * @return string
     */
    public function getClContent()
    {
        return $this->clContent;
    }

    /**
     * Set clFile
     *
     * @param string $clFile
     *
     * @return P2pBlock
     */
    public function setClFile($clFile)
    {
        $this->clFile = $clFile;

        return $this;
    }

    /**
     * Get clFile
     *
     * @return string
     */
    public function getClFile()
    {
        return $this->clFile;
    }

    /**
     * Set clTime
     *
     * @param integer $clTime
     *
     * @return P2pBlock
     */
    public function setClTime($clTime)
    {
        $this->clTime = $clTime;

        return $this;
    }

    /**
     * Get clTime
     *
     * @return integer
     */
    public function getClTime()
    {
        return $this->clTime;
    }

    /**
     * Set adminId
     *
     * @param integer $adminId
     *
     * @return P2pBlock
     */
    public function setAdminId($adminId)
    {
        $this->adminId = $adminId;

        return $this;
    }

    /**
     * Get adminId
     *
     * @return integer
     */
    public function getAdminId()
    {
        return $this->adminId;
    }

    /**
     * Get clId
     *
     * @return integer
     */
    public function getClId()
    {
        return $this->clId;
    }
}
